package ys.mihoyo.ymcc.feignclient;


import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import ys.mihoyo.ymcc.result.JSONResult;

@FeignClient("service-user")
public interface IUserFeignClient {

    @RequestMapping(value = "/user/queryByPhone/{phone}",method = RequestMethod.GET)
    public JSONResult queryByPhone(@PathVariable("phone") String phone);
}
